ABC117 C - Streamline
提出
WA
code: python
n, m = map(int, input().split())
x = sorted(list(map(int, input().split())))
print(x)
dis = []
tmp = 0
for i in range(m-1):
dis.append(tmp)
print(dis)
解答
code: python
n, m = map(int, input().split())
x = sorted(list(map(int, input().split())))
dis = []
for i in range(m-1):
dis.sort(reverse=True)
テーマ
メモ